<include file="Public/head"/>
<body class="no-skin">
<include file="Public/header"/>
<div class="main-container" id="main-container">
    <script type="text/javascript">
        try {
            ace.settings.check('main-container', 'fixed')
        } catch (e) {
        }
    </script>

    <include file="Public/sidebar"/>
    <div class="main-content">
        <div class="main-content-inner">
            <!-- #section:basics/content.breadcrumbs -->
            <include file="Public/breadcrumbs"/>

            <!-- /section:basics/content.breadcrumbs -->
            <div class="page-content">
                <include file="Public/set"/>

                <!-- /section:settings.box -->
                <div class="row">
                    <div class="col-xs-12">
                        <!-- PAGE CONTENT BEGINS -->
                        <form class="form-horizontal" action="{:U('update')}" name="myfromSubmit" method="post">
						<input type="hidden" name="id" value="{$info.id}" id="id"/>
                            <div class="space-4"></div>
                            <div class="form-group">
                                <label class="col-sm-1 control-label no-padding-right" for="form-field-1"> 用户名 </label>
                                <div class="col-sm-9">
                                    <input type="text" name="username" id="username" datatype="*" nullmsg="用户名不能为空"  class="rcol-xs-10 col-sm-5"
                                           value="{$info.username}">
                                </div>
                            </div>
                            <div class="space-4"></div>
                            <div class="form-group">
                                <label class="col-sm-1 control-label no-padding-right" for="form-field-4"> 密码 </label>
                               <div class="col-sm-9">
                                    <input type="password" name="passwd" id="passwd"   class="rcol-xs-10 col-sm-5"
                                           value="">
                                </div>
                            </div>
							<div class="space-4"></div>
                            <div class="form-group">
                                <label class="col-sm-1 control-label no-padding-right" for="form-field-1"> 物流公司名称 </label>
                                <div class="col-sm-9">
                                    <input type="text" name="company_name" id="company_name" datatype="*" nullmsg="物流公司不能为空"  class="rcol-xs-10 col-sm-5"
                                           value="{$info.company_name}">
                                </div>
                            </div>
							<div class="space-4"></div>
                            <div class="form-group">
                                <label class="col-sm-1 control-label no-padding-right" for="form-field-4"> 简介 </label>
                               <div class="col-sm-9">
                                    <textarea name="brief" id="brief" datatype="*" nullmsg="简介不能为空"  class="rcol-xs-10 col-sm-5"  >{$info.brief}
										   </textarea>
                                </div>
                            </div>
							<div class="space-4"></div>
                            <div class="form-group">
                                <label class="col-sm-1 control-label no-padding-right" for="form-field-4"> 联系人 </label>
                               <div class="col-sm-9">
                                    <input type="text" name="contacts" id="contacts" datatype="*" nullmsg="法人名称不能为空"  class="rcol-xs-10 col-sm-5"
                                           value="{$info.contacts}">
                                </div>
                            </div>
							<div class="space-4"></div>
                            <div class="form-group">
                                <label class="col-sm-1 control-label no-padding-right" for="form-field-4"> 联系人电话 </label>
                               <div class="col-sm-9">
                                    <input type="text" name="mobile" id="mobile" datatype="*" nullmsg=" 法人电话不能为空"  class="rcol-xs-10 col-sm-5"
                                           value="{$info.mobile}">
                                </div>
                            </div>
							<div class="space-4"></div>
                            <div class="form-group">
                                <label class="col-sm-1 control-label no-padding-right" for="form-field-4"> 邮箱 </label>
                               <div class="col-sm-9">
                                    <input type="text" name="email" id="email" datatype="*" nullmsg="邮箱不能为空"  class="rcol-xs-10 col-sm-5"
                                           value="{$info.email}">
                                </div>
                            </div>
							<div class="space-4"></div>
							<div class="form-group">
								<label class="col-sm-1 control-label no-padding-right" for="form-field-4"> 城市选择 </label>
                                <div class="col-sm-9">
									  <div data-toggle="distpicker">
										<div class="col-sm-4" style="margin-left:-11px;">
										  <select class="form-control" name="province_id" id="province1"></select>
										</div>
										<div class="col-sm-4">
										  <select class="form-control" name="city_id" id="city1"></select>
										</div>
										<div class="col-sm-4">
										  <select class="form-control" name="area_id" id="district1"></select>
										</div>
									</div>
								</div>	
							</div>
							<input type="hidden" id="province_id" value="{$info['province_id']}">
							<input type="hidden" id="city_id" value="{$info['city_id']}">
							<input type="hidden" id="area_id" value="{$info['area_id']}">
							<div class="space-4"></div>
                            <div class="form-group">
                                <label class="col-sm-1 control-label no-padding-right" for="form-field-4"> 地址 </label>
                               <div class="col-sm-9">
                                    <input type="text" name="address" id="address" datatype="*" nullmsg="地址不能为空"  class="rcol-xs-10 col-sm-5"
                                           value="{$info.address}">
                                </div>
                            </div>
							
                            <div class="space-4"></div>
                            <div class="col-md-offset-2 col-md-9">
                                <button class="btn btn-info" type="submit">
                                    <i class="icon-ok bigger-110"></i>
                                    提交
                                </button>

                                &nbsp; &nbsp; &nbsp;
                                <button class="btn" type="reset">
                                    <i class="icon-undo bigger-110"></i>
                                    重置
                                </button>
                            </div>
							<input type="hidden" id="area" value='{$area}'>
                        </form>
                        <!-- PAGE CONTENT ENDS -->
                    </div><!-- /.col -->
                </div><!-- /.row -->
            </div><!-- /.page-content -->
        </div>
    </div><!-- /.main-content -->
    <include file="Public/footer"/>

</div><!-- /.main-container -->

<include file="Public/footerjs"/>
<script src="__PUBLIC__/qwadmin/js/distpicker.data.js"></script>
<script src="__PUBLIC__/qwadmin/js/distpicker.js"></script>
<script src="__PUBLIC__/qwadmin/js/main.js"></script>
<!-- inline scripts related to this page -->

<script type="text/javascript">
    jQuery(function ($) {
      $('#exp_time').datepicker({
       
            dateFormat: 'yy-mm-dd',
              weekStart: 1,
            autoclose: true,
            todayBtn: 'linked',
     
            language: 'cn'
        });
    })
	
	
</script>

</body>
</html>
